package com.kujie.access.mapper;

import com.kujie.access.domain.query.PayManageQuery;
import com.kujie.access.domain.vo.PayManageVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 缴费管理 api
 *
 * @author jyy
 * @date 2025-05-27
 */
@Mapper
public interface PayMapper {

    /**
     * 缴费管理分页
     *
     * @param query    入参
     * @param pageNum  页数
     * @param pageSize 每页条数
     * @return ArrayList<PayManageVo>
     */
    List<PayManageVo> getPayManageList(@Param("query") PayManageQuery query,
                                       @Param("pageNum") long pageNum,
                                       @Param("pageSize") long pageSize);

    /**
     * 缴费管理总条数
     *
     * @param query 入参
     * @return Long
     */
    Long getPayManageCount(@Param("query") PayManageQuery query);
}
